package com.yunhe.service;

import java.util.List;

import org.apache.ibatis.session.SqlSession;

import com.yun.dao.checkUserIn;
import com.yunhe.bean.ShopUser;
import com.yunhe.util.MySession;

public class checkUser {
		public List<ShopUser> checklogin(ShopUser shopUser){			
			SqlSession se = new MySession().getSession();
			checkUserIn mapper = se.getMapper(checkUserIn.class);
			List<ShopUser> checkname = mapper.checkname(shopUser);
				return checkname;	
		}
}
